import React from 'react';
import { Link } from 'react-router-dom';

export default class Home extends React.Component{

    render(){
        return (
           <div>
                <h1>I am Home</h1>
                <br/>
                <Link to="/home/a">加载关于页面</Link>
                <hr/>
                {this.props.children}
           </div>
        );
    }
}